<div ng-controller="H5hddetailCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li> <a href="#/h5hd/list">{{'H5活动详情'| translate}}</a></li>
        <li>{{title}}
        </li>
        <span class="sui-form sui-form pull-right"> 
          <input type="text"  placeholder="{{'兑换码'|translate}}"  ng-model="code">
           <input type="text"  placeholder="{{'手机号'|translate}}"  ng-model="phone">
          <button class="sui-btn btn-primary" type="submit" ng-click="getList(1)">{{'search'|translate}}</button>
        </span>
    </ul>
    <h5-tab ng-model="Status" click-tab="getList(1)"></h5-tab>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'id'|translate}}</th>
               <!--  <th>{{'用户编号'|translate}}</th> -->
                <th>{{'手机号'|translate}}</th>
                <th>{{'兑换码'|translate}}</th>
                <th>{{'是否核销'|translate}} 
                </th>
                <th>{{'创建时间'|translate}}</th>
                <th>{{'operation'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in h5hd_detail_list">
                <td>{{list.h5hd_details_id}}</td>
                <!-- <td>
                    <wxinfo ng-model="list.member_id" stye="1"></wxinfo>
                </td> -->
                <td>{{list.phone}}</td>
                <td>{{list.code}}</td>
                <td>
                    {{list.status==1?'未使用':'已核销'}}
                    <br/>
                    <br/>
                    <div ng-show="list.status ==2 " class="sui-msg msg-tips">
                        <div class="msg-con">核销时间{{list.updated_time }}</div>
                        <s class="msg-icon"></s>
                    </div>
                </td>
                <td>
                    {{list.created_time}}
                </td>
                <td>
                    <button class="sui-btn btn-primary" ng-show="list.status ==1" ng-click="upstatus(list.h5hd_details_id)">{{'核销'|translate}}</button>
                </td>
            </tr>
        </tbody>
    </table>
    <!-- 分页start -->
    <pager page-no="1" page-size="page_Size" total="total" get-data="getList(pageNo)"></pager>
    <!-- 分页end -->
</div>